<?php

require_once (dirname ( __FILE__ ) . "/../../config/config.php");

$program_id = $_REQUEST ['program_id'];

$sql = "select play_count from zy_iptvprogram_list where program_id=$program_id";

$rs = mysql_query ( $sql );

$message = array ();

while ( $row = mysql_fetch_array ( $rs ) ) {
	
	$message [] = array (
		'play_count' => $row ['play_count'] 
	);
	
}
echo json_encode ( $message );